Optimal. Leaf size=69 \[ \frac{(a+b x) \left (a^2+2 a b x+b^2 x^2\right )^{3/2} (A b-a B)}{4 b^2}+\frac{B \left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{5 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0242733, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {640, 609} \[ \frac{(a+b x) \left (a^2+2 a b x+b^2 x^2\right )^{3/2} (A b-a B)}{4 b^2}+\frac{B \left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{5 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 640
Rule 609
Rubi steps
\begin{align*} \int (A+B x) \left (a^2+2 a b x+b^2 x^2\right )^{3/2} \, dx &=\frac{B \left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{5 b^2}+\frac{\left (2 A b^2-2 a b B\right ) \int \left (a^2+2 a b x+b^2 x^2\right )^{3/2} \, dx}{2 b^2}\\ &=\frac{(A b-a B) (a+b x) \left (a^2+2 a b x+b^2 x^2\right )^{3/2}}{4 b^2}+\frac{B \left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{5 b^2}\\ \end{align*}
Mathematica [A] time = 0.0348285, size = 83, normalized size = 1.2 \[ \frac{x \sqrt{(a+b x)^2} \left (10 a^2 b x (3 A+2 B x)+10 a^3 (2 A+B x)+5 a b^2 x^2 (4 A+3 B x)+b^3 x^3 (5 A+4 B x)\right )}{20 (a+b x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 90, normalized size = 1.3 \begin{align*}{\frac{x \left ( 4\,B{x}^{4}{b}^{3}+5\,A{b}^{3}{x}^{3}+15\,B{x}^{3}a{b}^{2}+20\,A{x}^{2}a{b}^{2}+20\,B{x}^{2}{a}^{2}b+30\,A{a}^{2}bx+10\,{a}^{3}Bx+20\,A{a}^{3} \right ) }{20\, \left ( bx+a \right ) ^{3}} \left ( \left ( bx+a \right ) ^{2} \right ) ^{{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.53427, size = 150, normalized size = 2.17 \begin{align*} \frac{1}{5} \, B b^{3} x^{5} + A a^{3} x + \frac{1}{4} \,{\left (3 \, B a b^{2} + A b^{3}\right )} x^{4} +{\left (B a^{2} b + A a b^{2}\right )} x^{3} + \frac{1}{2} \,{\left (B a^{3} + 3 \, A a^{2} b\right )} x^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (A + B x\right ) \left (\left (a + b x\right )^{2}\right )^{\frac{3}{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.09187, size = 194, normalized size = 2.81 \begin{align*} \frac{1}{5} \, B b^{3} x^{5} \mathrm{sgn}\left (b x + a\right ) + \frac{3}{4} \, B a b^{2} x^{4} \mathrm{sgn}\left (b x + a\right ) + \frac{1}{4} \, A b^{3} x^{4} \mathrm{sgn}\left (b x + a\right ) + B a^{2} b x^{3} \mathrm{sgn}\left (b x + a\right ) + A a b^{2} x^{3} \mathrm{sgn}\left (b x + a\right ) + \frac{1}{2} \, B a^{3} x^{2} \mathrm{sgn}\left (b x + a\right ) + \frac{3}{2} \, A a^{2} b x^{2} \mathrm{sgn}\left (b x + a\right ) + A a^{3} x \mathrm{sgn}\left (b x + a\right ) - \frac{{\left (B a^{5} - 5 \, A a^{4} b\right )} \mathrm{sgn}\left (b x + a\right )}{20 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]